<template>
  <div>
    <input @input="chabgeValue" v-model="value" />
  </div>
</template>

<script lang="ts" setup>
const value = defineModel("value", "");
const emit = defineEmits(["chabgeValue"]);
const chabgeValue = (e: any) => {
  value.value = e.target.value;
  emit("chabgeValue", e.target.value);
};
</script>

<style lang="scss" scoped></style>
